﻿using System;



class BallBounce

{

    static void Main()

    {

        double height = 100;

        double totalDistance = 0;



        for (int i = 1; i <= 10; i++)

        {

            if (i == 1)

            {

                totalDistance += height;

            }

            else

            {

                totalDistance += height * 2;

            }

            height /= 2;



            Console.WriteLine($"第{i}次落地：总路程={totalDistance:F2}米，反弹高度={height:F2}米");

        }



        Console.WriteLine($"\n第10次落地时，共经过 {totalDistance:F2} 米");

        Console.WriteLine($"第10次反弹高度为 {height:F2} 米");

    }

}